package com.xayy.health.mgt.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * (AppTlmCheckFramelossRslt)实体类
 *2 中断 3丢帧
 * @author zhangxa
 * @since 2023-09-05 15:54:37
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "HEALTH.app_tlm_check_frameloss_rslt")
public class AppTlmCheckFramelossRslt{
    /**
     * 数据时间
     */
    @ApiModelProperty(value = "数据时间")
    @Column(name = "Data_Time")
    private Timestamp dataTime;
    /**
     * 领域标识
     */
    @ApiModelProperty(value = "领域标识")
    @Column(name = "Field_Id")
    private String fieldId;

    /**
     * 卫星代号
     */
    @ApiModelProperty(value = "卫星代号")
    @Column(name = "Satellite_Code")
    private String satelliteCode;

    @ApiModelProperty(value = "卫星标识(异常**识别字)")
    @Column(name = "Satellite_Id")
    private String satelliteId;
    /**
     * 卫星名称
     */
    @ApiModelProperty(value = "卫星名称")
    @Column(name = "Satellite_Nm")
    private String satelliteNm;
    /**
     * 异常类型码(1 中断
     2 丢帧)
     */
    @ApiModelProperty(value = "异常类型码(1 中断 2丢帧)")
    @Column(name = "Anomal_Cd")
    private String anomalCd;
    /**
     * 异常描述
     */
    @ApiModelProperty(value = "异常描述")
    @Column(name = "Anomal_Desc")
    private String anomalDesc;
    /**
     * 异常前帧计数(丢帧（中断）前最后一帧帧计数)
     */
    @ApiModelProperty(value = "异常前帧计数(丢帧（中断）前最后一帧帧计数)")
    @Column(name = "Befr_Fram_Id")
    private String befrFramId;
    /**
     * 异常后帧计数(丢帧（中断）恢复最新一帧帧计数)
     */
    @ApiModelProperty(value = "异常后帧计数(丢帧（中断）恢复最新一帧帧计数)")
    @Column(name = "Aftr_Fram_Id")
    private String aftrFramId;
    /**
     * 异常帧计数差值(丢帧（中断）帧计数差值)
     */
    @ApiModelProperty(value = "异常帧计数差值(丢帧（中断）帧计数差值)")
    @Column(name = "Anomal_Fram_Diff")
    private Integer anomalFramDiff;
    /**
     * 异常前时间(丢帧（中断）前最后一帧时间)
     */
    @ApiModelProperty(value = "异常前时间(丢帧（中断）前最后一帧时间)")
    @Column(name = "Befr_Time")
    private Timestamp befrTime;
    /**
     * 异常后时间(丢帧（中断）恢复最新一帧时间)
     */
    @ApiModelProperty(value = "异常后时间(丢帧（中断）恢复最新一帧时间)")
    @Column(name = "Aftr_Time")
    private Timestamp aftrTime;
    /**
     * 异常时长（毫秒）(异常后时间-异常前时间)
     */
    @ApiModelProperty(value = "异常时长（毫秒）(异常后时间-异常前时间)")
    @Column(name = "Anomal_Times")
    private Integer anomalTimes;
    /**
     * 异常前**主站标识
     */
    @ApiModelProperty(value = "异常前**主站标识")
    @Column(name = "Befr_dwtmsta")
    private Integer befrDwtmsta;
    /**
     * 异常后**主站标识
     */
    @ApiModelProperty(value = "异常后**主站标识")
    @Column(name = "Aftr_ dwtmsta")
    private Integer aftrDwtmsta;
    /**
     * 来源系统(Zhongji
     通信优化改**管控
     通信一体化**管控
     )
     */
    @ApiModelProperty(value = "来源系统(Zhongji 通信优化改**管控 通信一体化 **管控)")
    @Column(name = "Src_Sys")
    private String srcSys;
    /**
     * ETL作业名
     */
    @ApiModelProperty(value = "ETL作业名")
    @Column(name = "Etl_Jab_Nm")
    private String etlJabNm;
    /**
     * ETL更新日期
     */
    @ApiModelProperty(value = "ETL更新日期")
    @Column(name = "Etl_Upd_Dt")
    private Timestamp etlUpdDt;
    @ApiModelProperty(value = "${column.comment}")
    @Column(name = "id")
    private Long id;

}

